
<!DOCTYPE html>
<html lang='zh-cn'>
<head>
    <meta charset='utf-8'>
    <meta http-equiv='X-UA-Compatible' content='IE=edge'>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <title>组织视图首页-部门结构 - 禅道</title>
    <script>window.config={"webRoot":"\/zentao\/","debug":false,"appName":"","cookieLife":30,"requestType":"PATH_INFO","requestFix":"-","moduleVar":"m","methodVar":"f","viewVar":"t","defaultView":"html","themeRoot":"\/zentao\/theme\/","currentModule":"company","currentMethod":"browse","clientLang":"zh-cn","requiredFields":"","router":"\/zentao\/index.php","save":"\u4fdd\u5b58","runMode":"","timeout":30000,"pingInterval":""};
    window.lang={"submitting":"\u7a0d\u5019...","save":"\u4fdd\u5b58","expand":"\u5c55\u5f00\u5168\u90e8","timeout":"\u8fde\u63a5\u8d85\u65f6\uff0c\u8bf7\u68c0\u67e5\u7f51\u7edc\u73af\u5883\uff0c\u6216\u91cd\u8bd5\uff01"};

    </script>
    <script>config.onlybody = "no";</script><link rel='stylesheet' href='/zentao/theme/default/zh-cn.default.css?v=12.5.3' type='text/css' media='screen' />
    <script src='/zentao/js/all.js?v=12.5.3'></script>
    <style>#titlebar {display: none}
    form {position:relative}
    #querybox {float: none!important; width: auto;}
    #moreOrLite {right: 10px!important}

    #userList tbody td{white-space: nowrap; overflow:hidden}
    </style><link rel='icon' href='/zentao/favicon.ico' type='image/x-icon' />
    <link rel='shortcut icon' href='/zentao/favicon.ico' type='image/x-icon' />
    <!--[if lt IE 10]>
    <script src='/zentao/js/jquery/placeholder/min.js?v=12.5.3'></script>
    <![endif]-->
</head>
<body>
<style>
    .picker-single .picker-selection-remove{z-index: 1000;}
    .picker-selection-single:after, .picker-multi.picker-focus .picker-selections:before{font-family: ZentaoIcon !important; content: '\f0d7' !important;}
</style>
<script>
    var chooseUsersToMail = '选择要发信通知的用户...';
    if($.fn.picker)
    {
        $(document).ready(function()
        {
            $(".picker-select[data-pickertype!='remote']").picker({chosenMode: true});
            $("[data-pickertype='remote']").each(function()
            {
                var pickerremote = $(this).attr('data-pickerremote');
                $(this).picker({chosenMode: true, remote: pickerremote});
            })
        });
    }
</script>
<header id='header'>
    <div id='mainHeader'>
        <div class='container'>
            <hgroup id='heading'>
                <h1 id='companyname' title='易软天创'><a href='/temp/index' >易软天创</a>
                </h1>
            </hgroup>
            <nav id='navbar'><ul class='nav nav-default'>
                <li  data-id='my'><a href="/index/ind2"><span> 我的地盘</span></a></li>
                <li  data-id='product'><a href='/temp/product-index-no' >产品</a></li>
                <li class='active' data-id='project'><a href='/temp/project-index-no' class='active'>项目</a></li>
                <li  data-id='qa'><a href='/temp/product-showErrorNone-qa' >测试</a></li>
                <li class='divider'></li><li  data-id='ci'><a href='/temp/repo-browse' >集成</a></li>
                <li  data-id='doc'><a href='/temp/doc' >文档</a></li>
                <li  data-id='report'><a href='/temp/report-productSummary' >统计</a></li>
                <li class='divider'></li><li  data-id='company'><a href='/temp/company-browse' >组织</a></li>
                <li  data-id='admin'><a href='/temp/admin' >后台</a></li>
            </ul>
            </nav>
            <div id='toolbar'>
                <div id="userMenu">
                    <div id='searchbox'><div class='input-group'><div class='input-group-btn'><a data-toggle='dropdown' class='btn btn-link'><span id='searchTypeName'>项目</span> <span class='caret'></span></a><input type='hidden' name='searchType' id='searchType' value='project'  />
                        <ul id='searchTypeMenu' class='dropdown-menu'><li ><a href='javascript:$.setSearchType("bug");' data-value='bug'>Bug</a></li><li ><a href='javascript:$.setSearchType("story");' data-value='story'>需求</a></li><li ><a href='javascript:$.setSearchType("task");' data-value='task'>任务</a></li><li ><a href='javascript:$.setSearchType("testcase");' data-value='testcase'>用例</a></li><li class='selected'><a href='javascript:$.setSearchType("project");' data-value='project'>项目</a></li><li ><a href='javascript:$.setSearchType("product");' data-value='product'>产品</a></li><li ><a href='javascript:$.setSearchType("user");' data-value='user'>用户</a></li><li ><a href='javascript:$.setSearchType("build");' data-value='build'>版本</a></li><li ><a href='javascript:$.setSearchType("release");' data-value='release'>发布</a></li><li ><a href='javascript:$.setSearchType("productplan");' data-value='productplan'>产品计划</a></li><li ><a href='javascript:$.setSearchType("testtask");' data-value='testtask'>测试单</a></li><li ><a href='javascript:$.setSearchType("doc");' data-value='doc'>文档</a></li><li ><a href='javascript:$.setSearchType("caselib");' data-value='caselib'>用例库</a></li><li ><a href='javascript:$.setSearchType("testreport");' data-value='testreport'>测试报告</a></li></ul></div><input id='searchInput' class='form-control search-input' type='search' onclick='this.value=""' onkeydown='if(event.keyCode==13) $.gotoObject();' placeholder='编号(ctrl+g)'/></div><a href='javascript:$.gotoObject();' class='btn btn-link' id='searchGo'>GO!</a></div>
                    <ul id="userNav" class="nav nav-default">
                        <li><a class='dropdown-toggle' data-toggle='dropdown'><span class='user-name'>admin</span><span class='caret'></span></a><ul class='dropdown-menu pull-right'><li class="user-profile-item"><a href='/temp/my-profile' class=' no-role'><div class='avatar avatar bg-secondary avatar-circle'>A</div>
                            <div class="user-profile-name">admin</div><div class="user-profile-role"></div></a></li><li class="divider"></li><li><a href='/temp/my-profile' >个人档案</a>
                        </li><li><a href='/temp/my-changepassword' class='iframe' data-width='500'>更改密码</a>
                        </li><li class='divider'></li><li class='dropdown-submenu'><a href='javascript:;'>主题</a><ul class='dropdown-menu pull-left'><li class='selected'><a href='javascript:selectTheme("default");' data-value='default'>禅道蓝（默认）</a></li><li ><a href='javascript:selectTheme("green");' data-value='green'>叶兰绿</a></li><li ><a href='javascript:selectTheme("red");' data-value='red'>赤诚红</a></li><li ><a href='javascript:selectTheme("purple");' data-value='purple'>玉烟紫</a></li><li ><a href='javascript:selectTheme("pink");' data-value='pink'>芙蕖粉</a></li><li ><a href='javascript:selectTheme("blackberry");' data-value='blackberry'>露莓黑</a></li><li ><a href='javascript:selectTheme("classic");' data-value='classic'>经典蓝</a></li></ul></li><li class='dropdown-submenu'><a href='javascript:;'>Language</a><ul class='dropdown-menu pull-left'><li class='selected'><a href='javascript:selectLang("zh-cn");'>简体</a></li><li ><a href='javascript:selectLang("zh-tw");'>繁體</a></li><li ><a href='javascript:selectLang("en");'>English</a></li><li ><a href='javascript:selectLang("de");'>Deutsch</a></li><li ><a href='javascript:selectLang("fr");'>Français</a></li><li ><a href='javascript:selectLang("vi");'>Tiếng Việt</a></li><li ><a href='javascript:selectLang("ja");'>日本語</a></li></ul></li><li class='custom-item'><a href='custom-ajaxMenu-project-index.html?onlybody=yes' data-toggle='modal' data-type='iframe' data-icon='cog' data-width='80%'>自定义导航</a></li><li class="divider"></li><li class='dropdown-submenu'><a data-toggle='dropdown'>帮助</a><ul class='dropdown-menu pull-left'><li><a href='tutorial-start.html' class='iframe' data-class-name='modal-inverse' data-width='800' data-headerless='true' data-backdrop='true' data-keyboard='true'>新手教程</a>
                        </li><li><a href='https://www.zentao.net/book/zentaopmshelp.html?fullScreen=zentao' class='open-help-tab' target='_blank' rel='noopener noreferrer'>手册</a>
                        </li><li><a href='/temp/misc-changeLog' class='iframe' data-width='800' data-headerless='true' data-backdrop='true' data-keyboard='true'>修改日志</a>
                        </li></ul></li>
                            <li><a href='/temp/misc-about' class='about iframe' data-width='1050' data-headerless='true' data-backdrop='true' data-keyboard='true' data-class='modal-about'>关于禅道</a>
                            </li><li class="divider"></li><li><a href='/temp/user-logout' >退出</a>
                            </li></ul></li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <div id='subHeader'>
        <div class='container'>
            <div id="pageNav" class='btn-toolbar'></div>
            <nav id='subNavbar'><ul class='nav nav-default'>
                <li class=' active' data-id='browseUser'><a href='/zentao/company-browse.html' >用户</a>
                </li>
                <li class=' ' data-id='dept'><a href='/zentao/dept-browse.html' >部门</a>
                </li>
                <li class=' ' data-id='browseGroup'><a href='/zentao/group-browse.html' >权限</a>
                </li>
                <li class=' ' data-id='dynamic'><a href='/zentao/company-dynamic.html' >动态</a>
                </li>
                <li class=' ' data-id='view'><a href='/zentao/company-view.html' >公司</a>
                </li>
            </ul>
            </nav>
            <div id="pageActions"><div class='btn-toolbar'></div></div>
        </div>
    </div>
</header>

<main id='main'  >
    <div class='container'>
        <script>deptID = 0;</script>
        <script>confirmDelete = "\u60a8\u786e\u5b9a\u5220\u9664\u8be5\u7528\u6237\u5417\uff1f";</script>
        <div id='mainMenu' class='clearfix'>
            <div id='sidebarHeader'>
                <div class="title">
                    部门结构          </div>
            </div>
            <div class='btn-toolbar pull-left'>
                <a class="btn btn-link querybox-toggle" id='bysearchTab'><i class="icon icon-search muted"></i> 搜索</a>
            </div>
            <div class='btn-toolbar pull-right'>
                <a href='/zentao/user-batchCreate-0.html' class='btn btn-secondary'><i class='icon icon-plus'></i> 批量添加用户</a>
                <a href='/zentao/user-create-0.html' class='btn btn-primary'><i class='icon icon-plus'></i> 添加用户</a>
            </div>
        </div>
        <div id='mainContent' class='main-row fade'>
            <div class='side-col' id='sidebar'>
                <div class="sidebar-toggle"><i class="icon icon-angle-left"></i></div>
                <div class='cell'>
                    <ul class='tree' data-ride='tree' data-name='tree-dept'></ul>
                    <div class='text-center'>
                        <a href='/zentao/dept-browse.html' class='btn btn-info btn-wide'>维护部门</a>
                    </div>
                </div>
            </div>
            <div class='main-col'>
                <div class="cell" id="queryBox" data-module='user'></div>
                <form class='main-table table-user' data-ride='table' action='/zentao/user-batchEdit-0.html' method='post' id='userListForm'>
                    <table class='table has-sort-head' id='userList'>
                        <thead>
                        <tr>
                            <th class='c-id'>
                                <div class="checkbox-primary check-all" title="全选">
                                    <label></label>
                                </div>
                                <a href='/zentao/company-browse-0-bydept-id_asc-1-20.html' class='sort-down'>ID</a>
                            </th>
                            <th><a href='/zentao/company-browse-0-bydept-realname_asc-1-20.html' class='header'>真实姓名</a>
                            </th>
                            <th><a href='/zentao/company-browse-0-bydept-account_asc-1-20.html' class='header'>用户名</a>
                            </th>
                            <th class="w-90px"><a href='/zentao/company-browse-0-bydept-role_asc-1-20.html' class='header'>职位</a>
                            </th>
                            <th class="c-url"><a href='/zentao/company-browse-0-bydept-email_asc-1-20.html' class='header'>邮箱</a>
                            </th>
                            <th class="c-type"><a href='/zentao/company-browse-0-bydept-gender_asc-1-20.html' class='header'>性别</a>
                            </th>
                            <th><a href='/zentao/company-browse-0-bydept-phone_asc-1-20.html' class='header'>电话</a>
                            </th>
                            <th><a href='/zentao/company-browse-0-bydept-qq_asc-1-20.html' class='header'>QQ</a>
                            </th>
                            <th class="c-date"><a href='/zentao/company-browse-0-bydept-last_asc-1-20.html' class='header'>最后登录</a>
                            </th>
                            <th class="w-90px"><a href='/zentao/company-browse-0-bydept-visits_asc-1-20.html' class='header'>访问次数</a>
                            </th>
                            <th class='c-actions'>操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        <tr>
                            <td class='c-id'>
                                <div class='checkbox-primary'><input type='checkbox' name='users[]' value='admin'  id='usersadmin' /> <label for='usersadmin'></label></div><a href='/zentao/user-view-1.html' >001</a>
                            </td>
                            <td><a href='/zentao/user-view-1.html' title='admin'>admin</a>
                            </td>
                            <td>admin</td>
                            <td class="w-90px" title=''></td>
                            <td class="c-url" title=""></td>
                            <td class="c-type">女</td>
                            <td></td>
                            <td></td>
                            <td class='c-date'>2021-06-15</td>
                            <td class='c-num text-center'>1</td>
                            <td class='c-actions'>
                                <button type='button' class='disabled btn '><i class='icon-user-unlock disabled icon-unlock' title='解锁用户' ></i></button>
                                <a href='/zentao/user-edit-1-company.html' class='btn ' title='编辑用户' ><i class='icon-common-edit icon-edit'></i></a>
                                <a href='/zentao/user-delete-1.html' title='删除用户' class='btn disabled'><i class="icon-trash"></i></a>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                    <div class='table-footer'>
                        <div class="checkbox-primary check-all"><label>全选</label></div>
                        <div class="table-actions btn-toolbar"> <button type='submit' id='submit' class='btn'  data-loading='稍候...'>编辑</button></div>
                        <ul class='pager' data-page-cookie='pagerCompanyBrowse' data-ride='pager' data-rec-total='1' data-rec-per-page='20' data-page='1' data-link-creator='/zentao/company-browse-0-bydept-id-1-{recPerPage}-{page}.html'></ul>      </div>
                </form>
            </div>
        </div>
        <script lanugage='javascript'>$('#dept0').addClass('active');</script>
    </div><script>
    $.initSidebar();
</script>

    <iframe frameborder='0' name='hiddenwin' id='hiddenwin' scrolling='no' class='debugwin hidden'></iframe>

</main><footer id='footer'>
    <div class="container">
        <ul class='breadcrumb'><li><a href='/zentao/my/' >禅道</a>
        </li><li><a href='/zentao/company/' >组织</a>
        </li><li class='active'>部门结构</li></ul>    <div id='poweredBy'>
        <small class='muted'><a href='https://api.zentao.net/goto.php?item=aiux' class='link-aiux' target='_blank'>Designed by <strong>艾体验</strong></a></small> &nbsp;
        <a href='https://www.zentao.net' target='_blank'><i class='icon-zentao'></i> 禅道12.5.3</a> &nbsp;
        <a href='https://api.zentao.net/goto.php?item=proversion&from=footer' target='_blank' id='proLink' class='text-important'>专业版 <i class='text-danger icon-pro-version'></i></a> &nbsp;           </div>
    </div>
</footer>
<div id="noticeBox"></div>
<script>
    /* Alert got messages. */
    needPing = false;
    $(function()
    {
        var windowBlur = false;
        if(window.Notification)
        {
            window.onblur  = function(){windowBlur = true;}
            window.onfocus = function(){windowBlur = false;}
        }
        setInterval(function()
        {
            $.get(createLink('message', 'ajaxGetMessage', "windowBlur=" + (windowBlur ? '1' : '0')), function(data)
            {
                if(!windowBlur)
                {
                    $('#noticeBox').append(data);
                    adjustNoticePosition();
                }
                else
                {
                    if(data)
                    {
                        if(typeof data == 'string') data = $.parseJSON(data);
                        if(typeof data.message == 'string') notifyMessage(data);
                    }
                }
            });
        }, 300000);
    })

</script>

<script>$(".tree .active").parent('li').addClass('active');
</script>
</body>
</html>
